package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.demo.controller.dto.ProgramFile;
import lombok.Data;

@TableName("hm_program")
@Data
//@Builder
public class HmProgram {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer deviceId;
    private String name;
    private String url;


    @TableField(exist = false)
    private ProgramFile[] fileList;
    @TableField(exist = false)
    private Integer playType;

}
